package com.ajavaer.framework.orm.service.impl;

import com.ajavaer.framework.core.orm.service.impl.BaseServiceImpl;
import com.ajavaer.framework.orm.dao.UserAdminDAO;
import com.ajavaer.framework.orm.po.UserAdmin;
import com.ajavaer.framework.orm.service.UserAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional(rollbackFor = Exception.class)
@Service
public class UserAdminServiceImpl extends BaseServiceImpl<UserAdmin, Integer> implements UserAdminService {
    @Autowired
    private UserAdminDAO userAdminDAO;

    @Autowired
    public UserAdminServiceImpl(UserAdminDAO userAdminDAO) {
        super(userAdminDAO);
        this.userAdminDAO = userAdminDAO;
    }
}
